export default {
	data() {
		return {
			//数据
			id: this.get("ToViewUserid"),
			user: {}
		}
	},
	created() { //调用方法
		let that = this;
		console.log(that.id)
		// 查询基本信息
		if(that.id != 'null' && that.id) {
			that.$post(
					that.urls.findUser, {
						id: that.id
					}
				)
				.then(function(res) {
					if(res.success) {
						that.user = res.data;
					}
				})
		}
	},
	mounted() {},
	methods: { //写函数方法

	}
}
